//----------------------------------------------------------------------------This is Walkingpoison according to the plum Blossom Rain Calendar control changes developed out of a calendar Javascript page script control, suitable for Microsoft IE
This article mainly introduces PHP to implement the conversion from the Gregorian calendar to the lunar calendar. The example analyzes the principle and implementation skills of the conversion from the Gregorian calendar to the lunar calendar, which
PHP solar calendar to lunar calendar implementation code
PHP solar calendar to lunar calendar conversion class code
// A class for converting the solar calendar to the lunar calendar in PHP
Class Calendar
{
This article mainly introduces PHP's implementation of the conversion from the Gregorian calendar to the lunar calendar. The example analyzes the principle and implementation skills of the conversion from the Gregorian calendar to the lunar calendar,
Take a look at the final effect chart:
is a little ugly, don't spit me-. -
Let's start with the main logic of this calendar:
• A maximum of 31 days in a month requires a 7x6 form to load
• If you know a month 1th is the day of the week, the
[Post] PHP century calendar .? Century calendar # This is the only setting-enter the location of the php file $ file192.168.1.168phprls2m. php; # The number of days of the lunar calendar month $ everymontharray (0 array (8, 0, 0, 0, 0, 0, 0
//
The following summarizes the implementation methods for obtaining a specified date in Java. For more information, seeCopy codeThe Code is as follows:Format a Date String --> Date or Data --> String
SimpleDateFormat sdf = new SimpleDateFormat
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.